const useAppStore = defineStore(
    'app',
    {
        state: () => ({
            appGroupType: "allType",
            allAppInfos: [],
            mainWindowsMax:false,
            ipc:null,
            shell:null,
        }),
        actions: {
            setAppGroupType(val) {
                this.appGroupType = val;
            },
            setAllAppInfos(val) {
                this.allAppInfos = val;
            },
            setMainWindowsMax(val) {
                this.mainWindowsMax = val;
            },
            setIpc(val){
                this.ipc = val;
            },
            setShell(val){
                this.shell = val;
            }
        }
    })

export default useAppStore
